Skip to content

Conversation

@chrishalcrow
Copy link
Member

This PR slightly changes the merging logic. It checks to see which units are mergeable (wrt to the sparsity threshold) before trying to merge.

Now we warn and don't merge the units, rather than error the entire process, if individual units cannot be merged.

I tried implementing this inside of _save_or_select_or_merge_or_split but it was a mess. I think it's best to know your new unit ids and final merge groups before this function is called.

@samuelgarcia @yger feedback welcome! I need to add some tests...

@chrishalcrow chrishalcrow added core Changes to core module curation Related to curation module labels Nov 19, 2025
@alejoe91 alejoe91 added this to the 0.103.2 milestone Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes to core module curation Related to curation module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants